package com.itheima.reggie.service;

import com.itheima.reggie.domain.Address;

import java.util.List;

public interface AddressService {

    //查询
    List<Address> findList();

    //新增
    void save(Address address);

    //修改
    void updateDefault(Long id);

    //查询地址
    Address findByDefault();

    //回显地址
    Address findById(Long id);

    //修改地址
    void update(Address address);

    //删除地址
    void delete(Long ids);
}
